/**
 * @author Mani
 */

        var xmlHttp = null;
        
        window.onload = function() { // Begin the request when page loads
            loadXmlHttp(); 
            sendRequest("/svn/store/other/context.txt")      
//            All data files are in folder -- store -- and path is /svn/store/other/filename
        }
        
        function loadXmlHttp() {
            // Do a little browser detection to see if we can
            // use XMLHTTPRequest or if we are stuck w/ the ActiveX
            // option.
            if (window.XMLHttpRequest) { //IE7, Mozilla, Safari, Opera
                xmlHttp = new XMLHttpRequest();
            } else if (window.ActiveXObject) {
                try{
                    xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); // IE5 & 6
                }
                catch(e) {}
            }
        }
        
        function sendRequest(url) {
            if (xmlHttp) {
                xmlHttp.open("GET", url, true); // "true" creates an async. request
                xmlHttp.onreadystatechange = onCallback;
                xmlHttp.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
                xmlHttp.send(null);
            }
        }
        
        function onCallback() {
            // This function will run over and over as the request 
            // goes though processing
            if (xmlHttp.readyState == 4) { // "4" indicates the end of the request
                if (xmlHttp.status == 200) {// "200" indicates a successful request
                    console.log(xmlHttp.responseText); //Display the result
                    document.getElementById("headerOne").innerHTML = xmlHttp.responseText;
                }
                else { //Something went wrong.
                    alert('Error: ' + xmlHttp.status);
                }
            }
        }      